function FilteredTrainingKNNLabeledList = Ddavid_get_filtered_knn_labeled_list(SampledTrueLabelTrainingOfSingleLabel, TrainingKNNList)

TrainingKNNLabeledList = SampledTrueLabelTrainingOfSingleLabel(TrainingKNNList);
FilteredTrainingKNNLabeledList = TrainingKNNLabeledList(SampledTrueLabelTrainingOfSingleLabel == 1, :);
